/**
 * 
 */
package com.mvc.service.vo.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.mvc.dao.mapper.vo.*;
import com.mvc.framework.constant.GlobalConstant;
import com.mvc.model.vo.*;
import com.mvc.service.vo.*;

/**
 * @author qingjie
 *
 */
@Service
public class HealthWeightServiceIml implements HealthWeightService {


	@Autowired
	private HealthWeightDao hDao;

	@Override
	public void insertHealthWeight(HealthWeight healthWeight) {
		switch (GlobalConstant.systemType) {
		case 0:
			hDao.insertHealWeight(healthWeight);
			break;
		case 1:
			hDao.insertWeightHeight(healthWeight);
			break;
		default:
			break;
		}
	}
	

}
